Skip to content

[stdlib] Make non-frozen types BitwiseCopyable #83630

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

benrimmington
Copy link
Contributor

Resolves part of #79470.

Note

MachErrorCode and POSIXErrorCode (for Apple platforms) were removed by #81726.

@benrimmington
Copy link
Contributor Author

@swift-ci Please smoke test

@benrimmington
Copy link
Contributor Author

Assertion failures with Unicode.GeneralCategory and Unicode.NumericType.

if (hasNoConformingArchetypeNode) {
llvm::errs() << "Non-trivial type with BitwiseCopyable conformance!?:\n"
<< substType << "\n";
conformance.print(llvm::errs());
llvm::errs() << "\n"
<< "Disable this validation with -Xllvm "
"-type-lowering-disable-verification.\n";
assert(false);
}

@benrimmington benrimmington deleted the bitwise-copyable branch August 11, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant